package com.ruoyi.base.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 物料主数据对象 base_mat
 *
 * @author ruoyi
 * @date 2022-07-23
 */
@Data
public class BaseMat  {

    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Long matId;



    @TableField(exist = false)
    private Long num;

    /**
     * 货品编码
     */
    @Excel(name = "货品编码")
    private String matCode;

    /**
     * 货品名称
     */
    @Excel(name = "货品名称")
    private String matName;

    /**
     * 货品描述
     */
    @Excel(name = "货品描述")
    private String fdCode;

    /**
     * 图片
     */
    @Excel(name = "图片")
    private String figNum;

    /**
     * 分类
     */
    @Excel(name = "分类")
    private String matClass;

    /**
     * 基本单位
     */
    @Excel(name = "基本单位")
    private String unitCode;

    /**
     * 规格
     */
    @Excel(name = "规格")
    private String matGroup;

    @TableField(exist = false)
    private String matGroupName;



    @TableField(exist = false)
    private String matClassName;



    /**
     * 毛重
     */
    @Excel(name = "毛重")
    private BigDecimal grossWeight;

    /**
     * 安全库存
     */
    @Excel(name = "安全库存")
    private Long safetyStock;

    /**
     * 标准价
     */
    @Excel(name = "标准价")
    private BigDecimal standardPrice;

    /**
     * 创建者
     */
    private String createBy;


    private Date createTime;

    /**
     * 更新者
     */
    private String updateBy;

    private Date updateTime;

    /** 删除标识 */
    private String delFlag;

    @TableField(exist = false)
    private Integer count;

}
